package com.neu.dao;


import com.neu.entity.Admin;
import com.neu.entity.Disease;
import com.neu.entity.Params;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface DiseaseDao extends Mapper<Disease> {

    List<Disease> findBySearch(@Param("params") Params params);

//    @Delete("delete from disease where id = #{id}")
//    void deleteById(Integer id);
}
